import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import ElementUI from 'element-ui'
import i18n from './lang'
import Echarts from 'echarts'
import 'babel-polyfill'
import './permission'
// import 'element-ui/lib/theme-chalk/index.css'
import 'element-ui/lib/theme-chalk/base.css'
import './styles/element_user.css'
import './styles/common.css'
import './styles/layui.css'
import './styles/base_cwn.css'

Vue.prototype.echarts = Echarts
Vue.use(Echarts)
Vue.config.productionTip = false
Vue.use(ElementUI, { i18n: (key, value) => i18n.t(key, value) })

new Vue({
  router,
  store,
  i18n,
  render: function (h) { return h(App) }
}).$mount('#app')
